package 结构型设计模式.装饰器模式.demo;

/**
 * @Author lf
 * @Date 3/20/2024
 */
public class StarDecorator extends MessageDecorator{
    public StarDecorator(Message message) {
        super(message);
    }

    public String getContent(){
        return super.getContent()+"*";
    }
}
